package org.hk.basic;

import org.hk.Desk;
import org.hk.Student;
import sun.security.krb5.internal.crypto.Des3CbcHmacSha1KdEType;

public class TestShareVar {
    public static void main(String[] args) {
        Integer x = -129;
        Integer y = -129;
        System.out.println(x==y);
        Student student = new Student();
        System.out.println(student.high);//int的成员变量 没有赋值，jvm会赋默认值
        Desk desk = new Desk();
        System.out.println(desk);
        student.desk =desk;
        System.out.println(student.desk);

    }
}
